Sd Jwt Vc Verifier
An SD-JWT-VC specific verifier
Functions
Link copied to clipboard
Link copied to clipboard
Verifies an SD-JWT serialized using compact serialization.
Verifies an SD-JWT serialized using JWS JSON serialization (either general or flattened format) as defined by RFC7515 and extended by SD-JWT specification.
abstract suspend fun verify(unverifiedSdJwt: String, challenge: JsonObject?): Result<SdJwtAndKbJwt<JWT>>
Verifies a SD-JWT+KB serialized using compact serialization. Typically, this is useful to Verifier that want to verify presentation SD-JWT communicated by Holders.
abstract suspend fun verify(unverifiedSdJwt: JsonObject, challenge: JsonObject?): Result<SdJwtAndKbJwt<JWT>>
Verifies a SD-JWT+KB in JWS JSON serialization. Typically, this is useful to Verifier that want to verify presentation SD-JWT communicated by Holders